package com.family.menage.dao;

import com.family.menage.controller.vo.CityStateVo;
import com.family.menage.controller.vo.CitycountVo;
import com.family.menage.entity.AddressEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wen
 * @email 1023076426@qq.com
 * @date 2021-09-12 19:00:57
 */
@Mapper
public interface AddressDao extends BaseMapper<AddressEntity> {

    List<CitycountVo> cityStateCount();

    List<CityStateVo> cityStateByPid(@Param("pid") Integer pid);

    List<AddressEntity> cityAll(@Param("firstword") String firstword);
}
